
<div id="left-col">
    <?php $this->widget('SideWidget',array(
        'top'=>array(
            'image'=>  getImage($customer->image, 'images/content', 75, 75),
            'text'=>$customer->lastname,
            'link'=>Yii::app()->createUrl('Customers/update', array('id'=>$customer->custno))
        ),
        'action'=>array(
            array(
                'links'=>array(
                    array('Cancel',Yii::app()->createUrl('Dispatchdetails',array('custno'=>$model->custno,'locno'=>$model->locno)))
                )
            )
        )
    ));?>
    

</div>

<div id="right-col">

    <div class="wrap">
        <div class="container">

            
            <div id="breadcrumb" style="display:none;"><span style="padding-left:10px;font-size:10px;color:#777777;" id="alsoviewing"></span></div>
            <div class="inside">
            <br/>
                <h1>Add Dispatch for:</h1>
                <br/>
                <?php $this->renderPartial('/locations/_view',array(
                    'location'=>$location
                ));?>
                <br/>
                <?php $this->renderPartial('_form',array(
                    'model'=>$model,
                ));?>
        
            </div><!-- inside -->
        </div><!-- container -->
    </div><!-- wrap -->
    <?php $this->renderPartial('/copyright'); ?>
</div> <!-- left-col -->